# 1000+ phone number

phonenumber_list = ["18273373871", "18273373872",
                    "18273373873", "18273373874", "18273373875"]

# 查询
print(phonenumber_list[2])

# 追加
phonenumber_list.append("18273373876")
print(phonenumber_list)

# 指定索引位置插入
phonenumber_list.insert(0, "18273373876")
print(f"============= \n", phonenumber_list)

# 默认删除最后一个值
phonenumber_list.pop()
print(f"after del index -0 \n",phonenumber_list)

# 指定索引位置删除
del phonenumber_list[0]
print(f"after del index0 \n",phonenumber_list)

phonenumber_list.pop(0)
print(f"after del index 0 \n",phonenumber_list)




# 删除指定值,数据必须存在，否则报错
phonenumber_list.remove('18273373874')

print(f"after del spec value \n",phonenumber_list)